package com.studor.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("db_crudstu")
public class Student {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;

    private String gender;

    private String major;

    @TableField(value = "room_num")
    private String roomNum;

    @TableField(value = "bed_num")
    private String bedNum;

    private String dormitory;

    private String tele;

    private String inf;
}
